package com.keyue.domain.vo.admin;

import com.keyue.domain.vo.BasePageVO;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * (Member)修改密码
 *
 * @author xms
 * @since 2023-08-22 17:02:39
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
public class AdminUserModifyPwdVO extends BasePageVO implements Serializable {

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空!")
    private String phone;

    /**
     * 短信验证码
     */
    @NotBlank(message = "短信验证码不能为空")
    private String smsCaptchaCode;

    /**
     * 密码
     */
    @NotBlank(message = "要修改的密码不能为空")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "请二次确认要修改的密码")
    private String confirmPassword;
}

